package com.softwarerusher.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TRent entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TRent implements java.io.Serializable {

	// Fields

	private Integer rentId;
	private TShop TShop;
	private TStaff TStaff;
	private TMember TMember;
	private Date rentTime;
	private Double money;
	private Set TRentdetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public TRent() {
	}

	/** minimal constructor */
	public TRent(TShop TShop, TStaff TStaff, TMember TMember, Date rentTime,
			Double money) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.rentTime = rentTime;
		this.money = money;
	}

	/** full constructor */
	public TRent(TShop TShop, TStaff TStaff, TMember TMember, Date rentTime,
			Double money, Set TRentdetails) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.rentTime = rentTime;
		this.money = money;
		this.TRentdetails = TRentdetails;
	}

	// Property accessors

	public Integer getRentId() {
		return this.rentId;
	}

	public void setRentId(Integer rentId) {
		this.rentId = rentId;
	}

	public TShop getTShop() {
		return this.TShop;
	}

	public void setTShop(TShop TShop) {
		this.TShop = TShop;
	}

	public TStaff getTStaff() {
		return this.TStaff;
	}

	public void setTStaff(TStaff TStaff) {
		this.TStaff = TStaff;
	}

	public TMember getTMember() {
		return this.TMember;
	}

	public void setTMember(TMember TMember) {
		this.TMember = TMember;
	}

	public Date getRentTime() {
		return this.rentTime;
	}

	public void setRentTime(Date rentTime) {
		this.rentTime = rentTime;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Set getTRentdetails() {
		return this.TRentdetails;
	}

	public void setTRentdetails(Set TRentdetails) {
		this.TRentdetails = TRentdetails;
	}

}